/*
 * RedPacketChooseListItem.java
 * business
 *
 * Created by SunDing on 2016/12/6.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Coupon;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.ChooseRedPacketHolder;

/** 可选红包 */
public class ChooseRedPacketListItem extends DisplayListItem<ChooseRedPacketHolder, Coupon> {

    public ChooseRedPacketListItem(Coupon coupon) {
        super(coupon);
    }

    @Override
    public void onShow(Context context, ChooseRedPacketHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return ChooseRedPacketListItem.class.getSimpleName();
    }

    @Override
    public Class<ChooseRedPacketHolder> getViewHolderClazz() {
        return ChooseRedPacketHolder.class;
    }
}
